From 3d28d79984103a26b89be84349de0bf88c0e81a9 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Tue, 31 May 2005 08:52:42 +0000 Subject: [PATCH] bitkeeper revision 1.1603 (429c25daAxv8CzKG49dW0khs2wyBew) xc_ptrace_core.c, xc_ptrace.c: SLES9 has a problem with it's and other headers associated with it. Since we are only using one thing from this (that we really don't need) we can just stop including it. http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34 Signed-off-by: Jerone Young Signed-off-by: Christian Limpach --- tools/libxc/xc_ptrace.c | 3 +-- tools/libxc/xc_ptrace_core.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/libxc/xc_ptrace.c b/tools/libxc/xc_ptrace.c index f465f1e085..1db45a7bbb 100644 --- a/tools/libxc/xc_ptrace.c +++ b/tools/libxc/xc_ptrace.c @@ -1,7 +1,6 @@ #include #include #include "xc_private.h" -#include #include @@ -301,7 +300,7 @@ xc_ptrace(enum __ptrace_request request, u32 domid, long eaddr, long edata) if (request == PTRACE_GETREGS) { SET_PT_REGS(pt, ctxt[cpu].user_regs); - memcpy(data, &pt, sizeof(elf_gregset_t)); + memcpy(data, &pt, sizeof(struct gdb_regs)); } else if (request == PTRACE_GETFPREGS) memcpy(data, &ctxt[cpu].fpu_ctxt, sizeof(ctxt[cpu].fpu_ctxt)); else /*if (request == PTRACE_GETFPXREGS)*/ diff --git a/tools/libxc/xc_ptrace_core.c b/tools/libxc/xc_ptrace_core.c index 7a5eeea21d..ec7a6980c3 100644 --- a/tools/libxc/xc_ptrace_core.c +++ b/tools/libxc/xc_ptrace_core.c @@ -1,7 +1,6 @@ #include #include #include "xc_private.h" -#include #include @@ -258,7 +257,7 @@ xc_ptrace_core(enum __ptrace_request request, u32 domfd, long eaddr, long edata) case PTRACE_GETFPXREGS: if (request == PTRACE_GETREGS) { SET_PT_REGS(pt, ctxt[cpu].user_regs); - memcpy(data, &pt, sizeof(elf_gregset_t)); + memcpy(data, &pt, sizeof(struct gdb_regs)); } else if (request == PTRACE_GETFPREGS) memcpy(data, &ctxt[cpu].fpu_ctxt, sizeof(ctxt[cpu].fpu_ctxt)); else /*if (request == PTRACE_GETFPXREGS)*/ -- 2.30.2